﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HMIS.Infrastructure.Core.Authority;
using HMIS.FrameWork;
using Iesi.Collections.Generic;
using System.Xml.Serialization;

namespace HMIS.Infrastructure.Core.Authority
{
	/// <summary>
	/// 企业用户
	/// </summary>
	[Serializable]
	public class HospUser : Person
	{
		/// <summary>
		/// 机构
		/// <remarks>一个用户可能存在于多个机构</remarks>
		/// </summary>
		[System.Xml.Serialization.XmlIgnore]
		public virtual Iesi.Collections.Generic.ISet<Department> Departments { get; set; }

		/// <summary>
		/// 用户拥有的菜单权限
		/// </summary>
		[System.Xml.Serialization.XmlIgnore]
		public virtual Iesi.Collections.Generic.ISet<MenuNode> MenuNodes { get; set; }

	}
}
